import Enums from "@/gx/Enums";
let apiUrl = "";
let username = "";
let password = "";
let uploadPosition = Enums.UploadPosition.本地;
// let uploadPosition = Enums.UploadPosition.远程;
let login_logo = "/static/imgs/login-logo-btk.png";

let version = "1.1.1";

//包名：com.bkt.system

let clientID = "android";

if (process.env.NODE_ENV === "development") {
    apiUrl = "http://192.168.0.86:833";
    username = "admin";
    password = "123456";

    version = "Dev " + version;
} else {
    //demo环境
    // apiUrl = "http://bktapi.demo.zyzztop.com";

    //青龙公司
    // apiUrl = "http://36.134.69.56:801";
    // uploadPosition = Enums.UploadPosition.本地;
    // login_logo = "/static/imgs/login-logo-btk-ql.png";
	
	//百克特正式
	apiUrl = "http://36.133.44.82:801";

    version = "V " + version;
}

module.exports = {
    ClientID: clientID,
    ApiUrl: apiUrl,
    Username: username,
    Password: password,
    Version: version,
    UploadPosition: uploadPosition,
    TokenKey: "token",
    MeKey: "me",
    QiniuTokenKey: "qiniu-token",
    LoginLogo: login_logo,
};
